package com.maxiaoke.boot.service;

import com.maxiaoke.boot.bean.Account;
import com.maxiaoke.boot.mapper.AccountMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AccountService {

    @Autowired
    AccountMapper accountMapper;

    public Account getAccountByAccountId(Long accountid){
        return accountMapper.getAccount(accountid);
    }

}
